<div class="list-group">
    <a href="{% url 'accounts:setting' user.id %}" class="list-group-item{% if active == 'profile' %} active{% endif %}">基础资料</a>
    <a href="{% url 'accounts:avatar' %}" class="list-group-item{% if active == 'avatar' %} active{% endif %}">更改头像</a>
    <a href="{% url 'accounts:password' %}" class="list-group-item{% if active == 'password' %} active{% endif %}">更改密码</a>
</div>